package com.cn.hospital.service.impl.system;

import com.cn.hospital.mapper.SysRoleMapper;
import com.cn.hospital.service.system.SysRoleService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service(interfaceClass = SysRoleService.class)
public class SysRoleServiceImpl implements SysRoleService {

    @Autowired
    SysRoleMapper sysRoleMapper;

    public List<String> findUserRoleById(Long userId){
        return sysRoleMapper.findUserRoleById(userId);
    }

}
